﻿    <link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css"/>
    <link href="@Url.Content("~/content/table_btn.css")" rel="stylesheet" type="text/css"/>

<!--[if lt IE 8]>
        <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
    <![endif]-->

    <noscript>
        <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
        <link href="@Url.Content("~/content/activitie_noscript.css")" rel="stylesheet" type="text/css"/>
    </noscript>

@model BulletinMvc.Models.RegisterModel

@{
    ViewBag.Title = "Register";
}

<h2>注册新账号</h2>
<div id="operateTxt">
    Use the form below to create a new account. <br />
    Passwords are required to be a minimum of @Membership.MinRequiredPasswordLength characters in length.
</div>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true, "Account creation was unsuccessful. Please correct the errors and try again.")
    <div>
        <fieldset class="create">
            <legend></legend>

            <div class="editor-label">
                @*@Html.LabelFor(m => m.UserName)*@用户名：
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.UserName)
                @Html.ValidationMessageFor(m => m.UserName)
            </div>

            <div class="editor-label">
                @*@Html.LabelFor(m => m.Email)*@邮箱：
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.Email)
                @Html.ValidationMessageFor(m => m.Email)
            </div>

            <div class="editor-label">
                @*@Html.LabelFor(m => m.Password)*@密码：
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.Password)
                @Html.ValidationMessageFor(m => m.Password)
            </div>

            <div class="editor-label">
                @*@Html.LabelFor(m => m.Password)*@再输一遍密码：
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.ConfirmPassword)
                @Html.ValidationMessageFor(m => m.ConfirmPassword)
            </div>

            <div class="editor-btn">
                <input type="submit" value="Register" />
            </div>
        </fieldset>
    </div>
}
